package vip.gnloypp.redis.mq.api.data;

/**
 * @author GuoNanLin
 * @since 2024/3/12 14:43
 */
public abstract class RedisMqMessage {

    /**
     * 队列key
     */
    private String key;
    /**
     * 消息ID
     */
    private String messageId;
    /**
     * 此消息出队次数
     */
    private long messageDequeueCount;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public long getMessageDequeueCount() {
        return messageDequeueCount;
    }

    public void setMessageDequeueCount(long messageDequeueCount) {
        this.messageDequeueCount = messageDequeueCount;
    }
}
